package com.whli.jee.system.controller;

import com.whli.jee.common.web.controller.BaseController;
import com.whli.jee.common.web.service.IBaseService;
import com.whli.jee.system.entity.Provinces;
import com.whli.jee.system.service.IProvincesService;
import com.whli.jee.system.vo.ProvincesVO;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * <em>类或方法作用描述</em>
 * @author whli
 * @version 2018/9/4 9:26
 * */
@RestController
@RequestMapping(value="/system/provinces")
@Api(description = "")
public class ProvincesController extends BaseController<Provinces,ProvincesVO>{

	@Autowired
	private IProvincesService provincesService;
	
	@Override
    public IBaseService<Provinces> getService() {
        return provincesService;
    }
}

